package com.shanzmoo.db.store.service.impl;

import com.shanzmoo.db.store.entity.StoreStockAllotBillEntity;
import com.shanzmoo.db.store.entity.vo.StoreStockAllotBillVO;
import com.shanzmoo.db.store.entity.query.StoreStockAllotBillQuery;
import com.shanzmoo.db.store.mapper.StoreStockAllotBillMapper;
import com.shanzmoo.db.store.service.IStoreStockAllotBillService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 仓库调拨单 服务实现类
 *
 * @author Gzhao 2021-03-11
 */
@Service
public class StoreStockAllotBillServiceImpl extends ServiceImpl<StoreStockAllotBillMapper, StoreStockAllotBillEntity>
        implements IStoreStockAllotBillService {

    @Override
    public List<StoreStockAllotBillVO> queryPageList(StoreStockAllotBillQuery query) {
        return baseMapper.queryPageList(query);
    }

    @Override
    public StoreStockAllotBillVO getInfo(Integer id) {
        return baseMapper.getInfo(id);
    }
}
